import Layout from '@/layout';

const stockRoute = [
  {
    path: '/stock',
    redirect: '/stock/index',
    name: 'stock',
    meta: { title: '耗材库存预警' },
    component: Layout,
    children: [
      {
        path: '',
        name: '',
        component: () => import('@/views/stock'),
        meta: { title: '耗材库存预警' }
      },
      {
        path: '/stock-record',
        name: 'stock-record',
        component: () => import('@/views/stock/stock-record'),
        meta: { title: '耗材-领用记录' }
      }
    ]
  }
];

export default stockRoute;
